#include<stdio.h>
#include<stdlib.h>
#include<time.h>

int main()
{
	int a;
	int num;
	
	num= rand() % 100;
	
	printf("猜数游戏！请输入两位数字:\n");
	scanf("%d",&a);
	
	while(a != num ){

		if(a == 100)
			printf("%d\n",num);
		
		printf("错啦，再试一次：\n");
		scanf("%d",&a);	
	}
	
	printf("恭喜你！");
	
	return 0;

}
